package cn.hdustea.shopNavigation.net.service

import cn.hdustea.shopNavigation.entity.Food
import com.hdustea.base.entity.Result
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * <pre>
 *     author : HuQiang
 *     time   : 2020/09/21
 *     desc   :
 *     version: 1.0
 * </pre>
 */
interface FoodService {

    @GET("/restaurant")
    fun getFood(@Query("page") page: Int): Observable<Result<MutableList<Food>>>

}